<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>我的分享</title>
    <style>
      .container {
        padding: 12px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h1>我的分享</h1>
      <h3>npm 常用命令</h3>
      <textarea id="story" name="story" rows="20" cols="50">
npm config get prefix
npm config list

npm view npm version
npm view npm versions

npm list --depth=2
npm list --depth=2 -global

npm set registry http://registry.npm.taobao.org
npm set registry https://registry.npmjs.org
npm set registry https://npm.aliyun.com
      </textarea>
      <div class="footer">
        <p>© 2025 Tommy的技术网站. All Rights Reserved.</p>
      </div>
    </div>
  </body>
</html>
